package opengameflow.framework.time;

public class GameTime {

	private TimeSpan startTime;
	private TimeSpan endTime;
	private boolean isRunningSlowly;
	
	public GameTime(){
		this(new TimeSpan(), null, false);
	}
	
	public GameTime(TimeSpan startTime, TimeSpan endTime){
		this(startTime, endTime, false);
	}
	
	public GameTime(TimeSpan startTime, TimeSpan endTime, boolean isRunningSlowly){
		this.startTime = startTime;
		this.endTime = endTime;
		this.isRunningSlowly = isRunningSlowly;
	}
	
	public TimeSpan getStartTime() {
		return this.startTime;
	}
	
	public TimeSpan getEndTime() {
		return this.endTime;
	}
	
	public boolean isRunningSlowly() {
		return this.isRunningSlowly;
	}
}
